package com.dotflat.satistics.vo.home;

import lombok.Data;

import java.util.List;

/**
 * *******************************
 * Created by Tim.
 * form com.matt
 * on 2018/7/25
 * *******************************
 */
@Data
public class DayUnitPriceVo {
    private String productName;
    private List<DayPriceVo> unitPriceList;

    public static DayUnitPriceVo of(String productName, List<DayPriceVo> priceList){
        DayUnitPriceVo vo = new DayUnitPriceVo();
        vo.setProductName(productName);
        vo.setUnitPriceList(priceList);
        return vo;
    }
}
